dict={'name': 'zhangsan', 'age': 25, 'city': 'New York', 'address': 'BeiJing'}

# 遍历键
for key in dict:
    print(key)
print("***********************")
# 遍历值
for v in dict.values():
    print(v)
print("***********************")
# 遍历键值对
for k,v in dict.items():
    print(k,v)